package com.iflytek.aisol.audit.iflytek.strategy.manage.entity;

/**
 * CLassName: engineParam
 * Description: 引擎参数，描述那些引擎会有哪些参数
 * Author: wuzhixiang
 * Date: 2024-12-28 13:58
 * Version: 1.0
 */


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.persistence.*;


/**
 * @author hswang7
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Entity
@Table(name = "EngineParam")
public class EngineParam{

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * channel引擎类型(rit,ive,vdt,llmAudit_RAG,llmAudit)
     * 服务引擎类型
     * IveServerConfigs/RitServerInstances/SubServerInstances
     * LlmServerInstances/RagServerInstances
     */
    @Column(name = "engine_type")
    private String engineType;

    /**
     * 参数类型支持
     * int/double/string/string[]/int[]
     * map<string,string>/map<string,int>
     */
    @Column(name = "param_type")
    private String paramType;

    /**
     * 输入类型，
     * input 前端直接输入
     * query 前端查询后端获得
     */
    @Column(name = "input_type")
    private String inputType;

    /**
     * 参数名称
     */
    @Column(name = "param_name")
    private String paramName;
}
